package com.zsc.wxm.ysh.anjo.member.feign.fallback;

import com.zsc.wxm.ysh.anjo.member.feign.OssService;
import com.zsc.wxm.ysh.anjo.result.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

/**
 * 描述：
 *
 * @author playmaker
 * @since 2021/2/12 16:49
 */
@Service
@Slf4j
public class OssServiceImpl implements OssService {
    @Override
    public Result upload(MultipartFile file) {
        log.error("oss服务文件上传调用超时");
        return Result.error("oss文件上传服务调用超时");
    }

    @Override
    public Result remove(String url) {
        log.error("oss服务文件删除调用超时");
        return Result.error("oss文件删除服务调用超时");
    }
}
